package com.ygqh.baby.service;

import java.util.Date;
import java.util.List;

import com.ygqh.baby.ao.BillStatus;
import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgWholesalerBillRecord;

/**
 * @author Ss
 */
public interface YgWholesalerBillRecordService {

	List<YgWholesalerBillRecord> find();

	int findCount();

	YgWholesalerBillRecord findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgWholesalerBillRecord ygWholesalerBillRecord);

	int update(YgWholesalerBillRecord ygWholesalerBillRecord);

	int saveOrUpdate(YgWholesalerBillRecord ygWholesalerBillRecord);

	ResultSet<YgWholesalerBillRecord> search(QueryInfo queryInfo, String wholesalerName, Date startDate, Date endDate, String billCode, BillStatus billStatus);

	void updateBillStatus(YgWholesalerBillRecord billRecord);
}
